<?php
echo '<pre>';
include "Connexion.class.php";
include "timer.php";
$timer = new timer();
$timer->start();

$cn = new Connexion();

//$cn->ExecuteRequete("SELECT * FROM  `toto`");

$step1 = $timer->get();

$query = "SELECT `damier_persos`.`perso_id` AS id , `persos`.`race_id` AS `race_id`, `persos`.`nom` AS `nom` 
FROM `damier_persos` 
INNER JOIN `persos` ON `persos`.`id`=`damier_persos`.`perso_id` 
WHERE carte_id='1' AND (pos_x>='-7' AND pos_x<='5') AND (pos_y>='2' AND pos_y<='14')";

$cn->ExecuteRequete($query);

$step2 = $timer->get();

echo "TIME
----
step1: $step1
step2: $step2";